//
//  REfirstCategory.m
//  录音
//
//  Created by ywy on 2017/1/4.
//  Copyright © 2017年 Wely. All rights reserved.
//

#import "REfirstCategory.h"

@implementation REfirstCategory


-(instancetype)initWithFrame:(CGRect)frame
{
    if (self == [super initWithFrame:frame]) {
        self.backgroundColor = halfOfAlpha;
        [self creatBaseView:frame];
    }
    return self;
}
-(void)creatBaseView:(CGRect)frame
{
    UIImageView * photoImageVIew = [[UIImageView alloc] initWithFrame:CGRectMake((REScreenW-300)/2, 200, 300, 300)];
    photoImageVIew.image = [UIImage imageNamed:@"Classified_upload"];
    [self addSubview:photoImageVIew];
    self.deleteButton =  [UIButton buttonWithType:1];
    self.deleteButton.frame = CGRectMake(REScreenW-40, 170, 30, 30);
    [self.deleteButton setBackgroundImage:[UIImage imageNamed:@"fork"] forState:UIControlStateNormal];
    [self addSubview:self.deleteButton];
    self.popButton =  [UIButton buttonWithType:1];
    self.popButton.frame = CGRectMake((REScreenW-143)/2, 500, 143, 66);
    [self.popButton setBackgroundImage:[UIImage imageNamed:@"ReturnCategorize"] forState:UIControlStateNormal];
    [self addSubview:self.popButton];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
